package kr.ac.kaist;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

import com.android.internal.os.*;

import com.android.internal.os.PowerProfile;

public class CPULoggerMain extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        PowerProfile powerProfile = new PowerProfile(this);
        Log.d("CPUInfo", String.valueOf(powerProfile.getNumSpeedSteps()));
        
        

/*
        CPUInfo cpuInfo = new CPUInfo();
        double dFrequency = cpuInfo.getCPUFrequency();
        Log.d("CPUInfo", String.valueOf(dFrequency));
*/
        
    }
}